<template>
  <div id="link" >
      <a :href="link"><img :src="img" alt="图片加载失败" id></a>
  </div>
</template>
<script lang='ts'>
export default {
    props:['link','img']
}
</script>
<style scoped lang="less">
  #link{
    width: 30vw;
    height: 20vw;
    border: 1px solid gray;
    border-radius: .4vw;
    box-shadow: .3vw .3vw .2vw lightgray;

    &:hover{
        
    }
  }
</style>